print("欢迎来到游乐场，儿童免费，成人收费")
i=1
while i <=9:
    j=1
    while j <= i:
        print(f"{i}*{j}={i*j}",end="\t")
        j+=1
    i+=1
    print("\n")
for i in range(1,10):
        for j in range(1,i+1):
            print(f"{i}*{j}={i*j}",end="\t")
        print("\n")
name="hello,world!!!"
for i in name:
    print(i,end=" ")
def match(n,m):
     i=1
     while i <=n:
        j=1
        while j <= m:
              print(f"{i}*{j}={i*j}",end="\t")
              j+=1
        i+=1
        print("\n")
def match2(n,m):
    for i in range(1,n+1):
        for j in range(1,m+1):
            print(f"{i}*{j}={i*j}",end="\t")
        print("\n")
n=int(input("请输入行数"))
m=int(input("请输入列数"))
match2(n,m)
match(n,m)
